package com.accp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import lombok.Data;

@Data
public class Grade {

	@TableId(value = "id",type = IdType.AUTO)
	private int id;
	
	@TableField(value="gradename")
	private String gradename;
	
	@Override
	public String toString() {
		return "Grade [id=" + id + ", gradename=" + gradename + "]";
	}
}
